package com.ruifu.common.feign.fallback;

import com.ruifu.common.feign.RemoteProjService;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class RemoteProjServiceFallbackImpl implements RemoteProjService {
    @Setter
    private Throwable cause;

    @Override
    public Boolean exchange(Integer sourceId, Integer targetId, String type) {
        log.error("feign exchange:{}{}{}", sourceId,targetId,type, cause);
        return null;
    }


}
